package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @ClassName UpdatePlanStateInfoRequest
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/6/30 18:11
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "更新广告计划状态的请求参数")
public class UpdatePlanStateInfoRequest {
    @ApiModelProperty(value = "广告主ID")
    @NotNull(message = "广告主ID不能为空")
    private Long advertiser_id;

    @ApiModelProperty(value = "计划ID集合，最多传100个id")
    @NotNull(message = "计划ID集合不能为空")
    private Long[] ad_ids;

    @ApiModelProperty(value = "\t更改操作, \"enable\"表示启用, \"delete\"表示删除, \"disable\"表示暂停\n" +
            "允许值: \"enable\", \"delete\", \"disable\"")
    @NotNull(message = "更改操作不能为空")
    private String opt_status;
}
